package com.flow.dao;

import java.util.List;
import com.flow.model.PagerModel;

public interface IBaseDao<T> {

	public void insert(Object object);

	public void update(Object object);
	
	public void delete(Object object);
	
	public int universalMethod(String hql, List<Object> params);

	public Object findByHql(String hql, List<Object> params);

	public List<T> findAllByHql(String hql, List<Object> params);

	public PagerModel findPagerModeled(PagerModel pager, String hql, List<Object> params);
	

}
